/*!
\copyright  Copyright (c) 2023 Qualcomm Technologies International, Ltd.
            All Rights Reserved.
            Qualcomm Technologies International, Ltd. Confidential and Proprietary.
\file
\brief      Sync start A2dp - audio framework adaptation layer
 
*/

#ifndef SYNC_START_A2DP_AUDIO_H_
#define SYNC_START_A2DP_AUDIO_H_

#include <sync_start_a2dp_types.h>

#include <operators.h>
#include <source.h>
#include <csrtypes.h>

/*@{*/

bool SyncStartA2dp_IsA2dpMirrored(void);

bool SyncStartA2dp_IsA2dpStreaming(void);

void SyncStartA2dp_StartGraph(bool only_output);

void SyncStartA2dp_StartInputGraph(void);

void SyncStartA2dp_MessageMoreDataCreateTransform(Source source);

void SyncStartA2dp_SetRtpTtpMode(ttp_mode_t mode, uint32 *sync_time_instant);

void SyncStartA2dp_LogStates(void);

void SyncStartA2dp_LogStartTime(uint32 clock);

const uint16 * SyncStartA2dp_GetA2dpNotPreparedLock(void);

void SyncStartA2dp_ConfigureAudioSyncLatency(Source source);

/*@}*/

#endif /* SYNC_START_A2DP_AUDIO_H_ */
